package com.example.springboot_demo.pojo;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 
 * @ClassName MedicalProduct
 * @Description 高端医疗营销产品实体类
 * @author futan@dtinsure.com
 * @version V1.0
 * @since V1.0
 * @date 2018年6月13日下午4:15:48
 */
@Document(collection = "MedicalProduct")
public class MedicalProduct implements Serializable{

	/**
	 * 序列化版本号
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 产品id
	 */
	@Id
	private String productId;

    
    /**
     * 投保条件
     */
    private MedicalProductCondition condition;


	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public MedicalProductCondition getCondition() {
		return condition;
	}

	public void setCondition(MedicalProductCondition condition) {
		this.condition = condition;
	}
}

















